package com.tydic.helloserviceapi.domain;

import java.math.BigDecimal;

/**
 * 商品实体
 * @author xuwenguang
 *
 */
public class Goods {
    private Integer id;

    private String name;

    private BigDecimal price;

    private String producter;

    //private Date createTime;

    private Integer createUser;

    //private Date updateTime;

    private Integer updateUser;

    public Goods() {
    }

    public Goods(String name, String producter) {
        this.name = name;
        this.producter = producter;
    }

    public Goods(String name, BigDecimal price) {
        this.name = name;
        this.price = price;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name == null ? null : name.trim();
    }

    public BigDecimal getPrice() {
        return price;
    }

    public void setPrice(BigDecimal price) {
        this.price = price;
    }

    public String getProducter() {
        return producter;
    }

    public void setProducter(String producter) {
        this.producter = producter == null ? null : producter.trim();
    }

//    public Date getCreateTime() {
//        return createTime;
//    }
//
//    public void setCreateTime(Date createTime) {
//        this.createTime = createTime;
//    }

    public Integer getCreateUser() {
        return createUser;
    }

    public void setCreateUser(Integer createUser) {
        this.createUser = createUser;
    }

//    public Date getUpdateTime() {
//        return updateTime;
//    }
//
//    public void setUpdateTime(Date updateTime) {
//        this.updateTime = updateTime;
//    }

    public Integer getUpdateUser() {
        return updateUser;
    }

    public void setUpdateUser(Integer updateUser) {
        this.updateUser = updateUser;
    }
}